import { BaseService, Service } from '@/utils/request';

@Service('app/bwbtGold')
export default class extends BaseService {
	expand() {
		return this.request({
			url: '/expand'
		});
	}

	receive(params) {
		return this.request({
			url: '/receive',
			params
		});
	}

	exchange(params) {
		return this.request({
			url: '/exchange',
			params
		});
	}

	log(params) {
		return this.request({
			url: '/log',
			params
		});
	}

	getMdGoodsPage(params) {
		return this.request({
			url: '/getMdGoodsPage',
			params
		});
	}

	conversionMdGood(data) {
		return this.request({
			url: '/conversionMdGood',
			method: 'POST',
			data
		});
	}

	broadcastList(params) {
		return this.request({
			url: '/broadcastList',
			params
		});
	}

	luckyBagList(params) {
		return this.request({
			url: '/luckyBagList',
			params
		});
	}

	getLuckyBag(params) {
		return this.request({
			url: '/getLuckyBag',
			params
		});
	}

	newPersonReceiveGold() {
		return this.request({
			url: '/newPersonReceiveGold'
		});
	}
}
